package cn.swust.designpatternlearningplatform.common.utils;



import org.springframework.util.DigestUtils;
//加密方法
public class PasswordManger {

    public static String pwdDigest(String oldPwd){
        return DigestUtils.md5DigestAsHex(oldPwd.getBytes());
    }
}
